This page last changed on Jan 27, 2010 by dcline.

A small, two-node Condor pool was setup for this project. These are the installation notes for the computers AVED was installed on for this project.

Installing Condor As Execute-Only Node on Linux

Add group and user aved

[root@nanomia condor\]# groupadd -g 300 aved
[root@nanomia condor\]# useradd -c "AVED" -g aved -u 300 aved

RPM installation

* As root install condor RPM

[root@nanomia condor\]# rpm -ivh condor-7.2.3-linux-x86-rhel3-dynamic-1.i386.rpm
Preparing; ########################################### [100%] condor ###########################################[100%]

* Run configure script to setup installation as a submit and execute only node to the central manager nanomia.

[root@nanomia condor]# /opt/condor-7.2.3/condor_configure --type=submit,execute --central-manager=nanomia.shore.mbari.org --owner=aved --install-dir=/opt/condor-7.2.3

* Edit /opt/condor-7.2.3/etc/condor_config changing the lines to allow READ/WRITE access and an address where email should be sent when something goes wrong

HOSTALLOW_WRITE = *.shore.mbari.org
CONDOR_ADMIN = dcline@mbari
MAIL = /bin/mail

Open the local configuration file /opt/condor-7.2.3/local.<hostname>/condor_config.local. Modify/add the following variables:

CONDOR_ADMIN = dcline@mbari
## What machine is collecting statistics ?
CONDOR_VIEW_HOST = $(CONDOR_HOST):9619
FILESYSTEM_DOMAIN=$(FULL_HOSTNAME)

## Define as having mbarivision capability for the class ads
HAS_MBARIVISION = True
STARTD_EXPRS = HAS_MBARIVISION, $(STARTD_EXPRS)

## Reduce the number of advertised CPUS
NUM_CPUS = 1

## Change START AND SUSPEND defaults
START = True
WANT_SUSPEND = False

Quigley and Espadon machines only Open the local configuration file /opt/condor-7.2.3/local.<hostname>/condor_config.local. Define execute directory as the spare disk

EXECUTE = /disk2
  • Change the disk directory permissions
    chown -Rf aved:aved /disk2
    

    Sherman machine only

  • Do not include HAS_MBARIVISION - this machine is dedicated for classification work only
  • Instead, add HAS_AVEDCLASSIFIER, e.g.
    ## Define as having the AVED classifier capability for the class ads
    HAS_AVEDCLASSIFIER = True
    STARTD_EXPRS = HAS_AVEDCLASSIFIER, $(STARTD_EXPRS)

Installing Condor as a service on Linux


* Copy condor.sh and condor.csh files to /etc/profile.d:

cp /opt/condor-7.2.3/condor.*sh /etc/profile.d/

* Add to /etc/profile.d/condor.sh/csh file the following:

CONDOR_ROOT=/opt/condor-7.2.3
  • Install condor service script to execute condor on bootup
    [root@nanomia condor]# cd /opt/condor-7.2.3/etc/examples
    [root@nanomia condor]# cp condor.boot /etc/init.d/condor
    
  • Edit /etc/init.d/condor and insert . /etc/profile.d/condor.sh
    *before* the line MASTER and replace the MASTER line with the following:
    . /etc/profile.d/condor.sh
    MASTER=$CONDOR_ROOT/sbin/condor_master
    
  • Add soft links to the condor startup script
    ln -s /etc/init.d/condor /etc/rc5.d/S100condor
    ln -s /etc/init.d/condor /etc/rc5.d/K100condor
    
  • Fix file permissions
    chown -Rf aved /opt/condor-7.2.3/local.beowulffish/
    
  • Start the condor service
    [root@nanomia condor]# service condor start
    


    The condor service should now start upon boot.

Document generated by Confluence on Feb 03, 2026 15:34